package dummy.test.boundry;

import org.annoflow.filter.Filter;
import org.annoflow.filter.boundry.*;
import org.annoflow.policy.Policy;
import org.annoflow.policy.boundry.*;

@Policy(policy=SecureClassPolicy.class)
public class User {

	private String userName;
	private String password;
	public User(String uName, String pass) {
		userName = uName;
		password = pass;
	}
	@Filter(type=SecureMethodFilter.class)
	public String getPassword()
	{
		return password;
	}
	@Filter(type=MixFilter.class)
	public void setPassword(String password)
	{
		this.password = password;
	}
	public String getUserName()
	{
		return userName;
		
	}

}
